package life.mahu.community.mapper;

import java.util.List;
import life.mahu.community.model.UserQuestionExample;
import life.mahu.community.model.UserQuestion;
import org.apache.ibatis.annotations.Param;

public interface UserQuestionMapper {
    long countByExample(UserQuestionExample example);

    int deleteByExample(UserQuestionExample example);

    int deleteByPrimaryKey(UserQuestion key);

    int insert(UserQuestion record);

    int insertSelective(UserQuestion record);

    List<UserQuestion> selectByExample(UserQuestionExample example);

    int updateByExampleSelective(@Param("record") UserQuestion record, @Param("example") UserQuestionExample example);

    int updateByExample(@Param("record") UserQuestion record, @Param("example") UserQuestionExample example);
}